home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / mmu / modules / libraries / 680x0.m < prev    next >
Encoding:
Text File  |  2002-10-28  |  2.4 KB  |  47 lines

  1. /*************************************************************************
  2.  ** 680x0.library                                                 **
  3.  **                                                                     **
  4.  ** CPU driver library base library         **
  5.  **                                                                     **
  6.  ** © 1999 THOR-Software, Thomas Richter                                **
  7.  ** No commercial use, reassembly, modification without prior, written  **
  8.  ** permission of the authors.                                          **
  9.  ** Including this library in any commercial software REQUIRES a        **
  10.  ** written permission and the payment of a small fee.                  **
  11.  **                                                                     **
  12.  **---------------------------------------------------------------------**
  13.  ** Definition of the library, and structures                           **
  14.  **                 **
  15.  ** $VER: 40.2 (28.8.1999) © THOR                           **
  16.  *************************************************************************/
  17. #ifndef LIBRARIES_680X0_M
  18. #define LIBRARIES_680X0_M 
  19. MODULE 'exec/libraries','mmu/mmubase'
  20. /* There's really nothing in this library base you need to care about */
  21.  
  22. OBJECT MC680x0Base
  23.   Library:Library     /* more below this point */
  24.  
  25. #define MC680x0_NAME '680x0.library'
  26. /* Bit definitions for the SetFPUExceptions call, exception disable */
  27. FLAG FPUCtrl_BSUN=0,   /* disable branch or set on unordered */
  28.  FPUCtrl_INEX=1,   /* disable inexact result exception */
  29.  FPUCtrl_DIVZ=2,   /* disable divide by zero exception */
  30.  FPUCtrl_UNFL=3,   /* disable underflow exception */
  31.  FPUCtrl_OVFL=4,   /* disable overflow exception */
  32.  FPUCtrl_SNAN=5,   /* disable signalling NAN exception */
  33.  FPUCtrl_OPERR=6   /* disable operand error exception */
  34. /* CPU and FPU definitions. */
  35. #define CPUTYPE_68000   "0" /* a plain 68000*/
  36. #define CPUTYPE_68010   "1" /* a 68010  */
  37. #define CPUTYPE_68020   "2" /* a 68020  */
  38. #define CPUTYPE_68030   "3" /* a 68030  */
  39. #define CPUTYPE_68040   "4" /* a 68040  */
  40. #define CPUTYPE_68060   "6" /* a 68060  */
  41. #define FPUTYPE_NONE  0 /* no FPU available */
  42. #define FPUTYPE_68881   "1" /* the 68881 external FPU   */
  43. #define FPUTYPE_68882   "2" /* the advanced edition of this chip */
  44. #define FPUTYPE_68040   "4" /* the 68040 buildin FPU  */
  45. #define FPUTYPE_68060   "6" /* the 68060 buildin FPU  */
  46. #endif
  47.